package hoang.android.app.model;

import java.util.ArrayList;

public class TripInfoList {

	/**
	 * {"success":1,"status":200,"message":"","amount_due":9.75","previous_amount_due":1.00","info":
	 * [{"trip_num":"1","from_loc_id":"4","to_loc_id":3","trip_date":"07/01/2013","trip_amount":2.25"},
	 * {"trip_num":"2","from_loc_id":"110","to_loc_id":106","trip_date":"07/01/2013":"trip_amount":6.50"}]}
	 */
	
	String amount_due;
	String previous_amount_due;
	ArrayList<Info> listInfo = new ArrayList<Info>();
	
	public TripInfoList() {
		super();
	}

	public TripInfoList(String amount_due, String previous_amount_due,
			ArrayList<Info> listInfo) {
		super();
		this.amount_due = amount_due;
		this.previous_amount_due = previous_amount_due;
		this.listInfo = listInfo;
	}

	public String getAmount_due() {
		return amount_due;
	}

	public void setAmount_due(String amount_due) {
		this.amount_due = amount_due;
	}

	public String getPrevious_amount_due() {
		return previous_amount_due;
	}

	public void setPrevious_amount_due(String previous_amount_due) {
		this.previous_amount_due = previous_amount_due;
	}

	public ArrayList<Info> getListInfo() {
		return listInfo;
	}

	public void setListInfo(ArrayList<Info> listInfo) {
		this.listInfo = listInfo;
	}
	
	public class Info{
		String trip_num;
		String from_loc_id;
		String to_loc_id;
		String trip_date;
		String trip_amount;
		
		public Info() {
			super();
		}

		public Info(String trip_num, String from_loc_id, String to_loc_id,
				String trip_date, String trip_amount) {
			super();
			this.trip_num = trip_num;
			this.from_loc_id = from_loc_id;
			this.to_loc_id = to_loc_id;
			this.trip_date = trip_date;
			this.trip_amount = trip_amount;
		}
		
	}

	
}

